package com.ckd.flyingtrip.activity;

import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import com.ckd.flyingtrip.R;

/**
 * 飞哥换电   支付列表
 */
public class PaymentRecordsActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.payment_records);
        ListView listView = (ListView) findViewById(R.id.payment_listview);//在视图中找到ListView
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,R.layout.payment_item);//新建并配置ArrayAapeter
        listView.setAdapter(adapter);

    }

}
